package com.sailorless.net 
{
	public class LoaderAdapter 
	{
		public var index:int;
		public var addr:String;
		public var type:String;
		public var fnProgress:Function;
		public var fnComplete:Function;
		public var fnError:Function;
		public var fnTimeout:Function;
		public var async:Boolean = false;
		
		public function LoaderAdapter(addr:String, type:String = "string", index:int = -1, 
		                             fnComplete:Function = null, fnError:Function = null, 
									 fnProgress:Function = null, fnTimeout:Function = null) 
		{
			this.type = type;
			this.addr = addr;
			this.index = index;
			this.fnComplete = fnComplete;
			this.fnError = fnError;
			this.fnProgress = fnProgress;
			this.fnTimeout = fnTimeout;
		}
		
	}

}